using System;
using System.Collections.Generic;
using VoiceAd.Models;

namespace VoiceAd.DAL
{
    public interface IMonitorRepository : IDisposable
    {
        IEnumerable<tblMonitor> GetListMonitors();
        IEnumerable<tblMonitor> GetListMonitorsByCampId(int campId);
        IEnumerable<tblMonitor> GetListMonitorsByBookingId(int bookingId);
        IEnumerable<tblMonitor> GetListMonitorsByStationId(int campId);
        IEnumerable<tblMonitor> GetListMonitorsByBookingAd(int bookingId);
        int GetSumMonitorByUploadDay(int id, DateTime dUpload);
        int GetSumMonitorByBookId(int id);
        tblMonitor GetMonitorById(int id);
        int tblMonitorSumDayByCampId(int id);
        void InsMonitor(tblMonitor tblmonitor);
        void UpdMonitor(tblMonitor tblmonitor);
        void DelMonitor(int id);
    }
}
